From 1aeebfd71f3729374079664a990b9711eaedb600 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 19 Aug 2014 11:51:02 -0700 Subject: [PATCH] Fix some flaky tests on the buildbots --- src/cargo/sources/git/utils.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/cargo/sources/git/utils.rs b/src/cargo/sources/git/utils.rs index 61577b50c..b92517514 100644 --- a/src/cargo/sources/git/utils.rs +++ b/src/cargo/sources/git/utils.rs @@ -289,8 +289,11 @@ impl GitCheckout { fn update_submodules(&self) -> CargoResult<()> { git!(self.location, "submodule", "sync", "--quiet"); - Ok(git!(self.location, "submodule", "update", "--init", - "--recursive", "--quiet")) + // Sadly older versions of git don't actually respect --quiet for *all* + // operations and still print some thing here and there. + git_output!(self.location, "submodule", "update", "--init", + "--recursive", "--quiet"); + Ok(()) } } -- 2.30.2